FROM java:8
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
ADD ./target/*.jar ucat-sso.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/ucat-sso.jar"]